package com.xiaoxiang.auth.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.xiaoxiang.auth.dto.RolePermissionDo;
import com.xiaoxiang.auth.entity.Permission;

import java.util.List;

/**
 * (Permission)表数据库访问层
 *
 * @author haha
 * @since 2022-03-19 15:25:08
 */
public interface PermissionDao extends BaseMapper<Permission> {

    List<RolePermissionDo> queryAllByRole();
}
